<template>
  <div class=''>我是父亲
      <input type="text" v-model="shuzu">
      <!-- 父传子最主要的是在子组件中绑定数据,传的时候写的自己自定义属性 -->
      <son  :array='shuzu' :abc='nihao' :data=data></son>
      <select name="" id="" for=''>
        <option value=""></option>
      </select>
  </div>

</template>

<script>
import Son from '../fuchuanzi/son.vue'
export default {
  components: {
    Son
  },
  data () {
    return {
      data: [{ name: 1 }, { name: 2 }],
      shuzu: [1, 5, 2, 7, 1, 5, 5, 0, 6, 7, 7],
      nihao: '你好'
    }
  },
  methods: { },
  computed: { },
  created () { },
  mounted () { }
}
</script>

<style scoped lang='less'></style>
